
package org.springblade.upgrade.nacos;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "nacos.discovery")
@Data
public class NacosProperties {
    /**
     * nacos discovery server address.
     */
    private String serverAddr;

    /**
     * the nacos authentication username.
     */
    private String username;

    /**
     * the nacos authentication password.
     */
    private String password;

    /**
     * group name for nacos.
     */
    private String group = "DEFAULT_GROUP";

    /**
     * namespace
     */
    private String namespace;

}
